import { Pojo } from '../lib/db/Pojo';
import * as Sequelize from 'sequelize';
import portal from '../lib/db/mssql';


export interface TsModel extends Pojo {
    ts: Date;
    tId: string;
}
export interface TsModelInstance extends Sequelize.Instance<TsModel>, TsModel {
}

export const tsModel = portal.define<TsModelInstance, TsModel>('tsTables', {
    ts: Sequelize.DATE,
    tId: Sequelize.STRING
});

tsModel.sync();
export default tsModel;